package com.cloud.report.api.entity;

import javax.persistence.*;

@Table(name = "report_sort_field")
public class ReportSortField {
    @Id
    @Column(name = "sort_field_id")
    private Long sortFieldId;

    @Column(name = "field_name")
    private String fieldName;

    @Column(name = "field_disp_name")
    private String fieldDispName;

    @Column(name = "sort_type")
    private String sortType;

    @Column(name = "display_order")
    private Integer displayOrder;

    @Column(name = "query_field_id")
    private Long queryFieldId;

    @Column(name = "query_id")
    private Long queryId;

    /**
     * @return sort_field_id
     */
    public Long getSortFieldId() {
        return sortFieldId;
    }

    /**
     * @param sortFieldId
     */
    public void setSortFieldId(Long sortFieldId) {
        this.sortFieldId = sortFieldId;
    }

    /**
     * @return field_name
     */
    public String getFieldName() {
        return fieldName;
    }

    /**
     * @param fieldName
     */
    public void setFieldName(String fieldName) {
        this.fieldName = fieldName;
    }

    /**
     * @return field_disp_name
     */
    public String getFieldDispName() {
        return fieldDispName;
    }

    /**
     * @param fieldDispName
     */
    public void setFieldDispName(String fieldDispName) {
        this.fieldDispName = fieldDispName;
    }

    /**
     * @return sort_type
     */
    public String getSortType() {
        return sortType;
    }

    /**
     * @param sortType
     */
    public void setSortType(String sortType) {
        this.sortType = sortType;
    }

    /**
     * @return display_order
     */
    public Integer getDisplayOrder() {
        return displayOrder;
    }

    /**
     * @param displayOrder
     */
    public void setDisplayOrder(Integer displayOrder) {
        this.displayOrder = displayOrder;
    }

    /**
     * @return query_field_id
     */
    public Long getQueryFieldId() {
        return queryFieldId;
    }

    /**
     * @param queryFieldId
     */
    public void setQueryFieldId(Long queryFieldId) {
        this.queryFieldId = queryFieldId;
    }

    /**
     * @return query_id
     */
    public Long getQueryId() {
        return queryId;
    }

    /**
     * @param queryId
     */
    public void setQueryId(Long queryId) {
        this.queryId = queryId;
    }
}